<html>
    <head>
        <?php
        $fileName='informe_ofertas_'.date('y-m-d_H-i-s').'.xls';
        header('Content-type: application/vnd.ms-excel');
        header("Content-Disposition: attachment; filename=$fileName");
        header("Pragma: no-cache");
        header("Expires: 0");
        ?>
        <title><?php echo $fileName ?></title>
        <style>
            <!--table
            {mso-displayed-decimal-separator:"\,";
             mso-displayed-thousand-separator:"\.";}
            @page
            {margin:.98in .79in .98in .79in;
             mso-header-margin:0in;
             mso-footer-margin:0in;}
            tr
            {mso-height-source:auto;}
            col
            {mso-width-source:auto;}
            br
            {mso-data-placement:same-cell;}
            .style0
            {mso-number-format:General;
             text-align:general;
             vertical-align:bottom;
             white-space:nowrap;
             mso-rotate:0;
             mso-background-source:auto;
             mso-pattern:auto;
             color:windowtext;
             font-size:10.0pt;
             font-weight:400;
             font-style:normal;
             text-decoration:none;
             font-family:Arial;
             mso-generic-font-family:auto;
             mso-font-charset:0;
             border:none;
             mso-protection:locked visible;
             mso-style-name:Normal;
             mso-style-id:0;}
            td
            {mso-style-parent:style0;
             padding-top:1px;
             padding-right:1px;
             padding-left:1px;
             mso-ignore:padding;
             color:windowtext;
             font-size:10.0pt;
             font-weight:400;
             font-style:normal;
             text-decoration:none;
             font-family:Arial;
             mso-generic-font-family:auto;
             mso-font-charset:0;
             mso-number-format:General;
             text-align:general;
             vertical-align:bottom;
             border:none;
             mso-background-source:auto;
             mso-pattern:auto;
             mso-protection:locked visible;
             white-space:nowrap;
             mso-rotate:0;}
            .xl24
            {mso-style-parent:style0;
             mso-number-format:"Short Date";}
            .xl25
            {mso-style-parent:style0;
             font-weight:700;
             font-family:Arial, sans-serif;
             mso-font-charset:0;
             text-align:center;}
            .xl26
            {mso-style-parent:style0;
             text-align:right;}
            .xl27
            {mso-style-parent:style0;
             text-align:center;}
            -->
        </style>
        <!--[if gte mso 9]><xml>
         <x:ExcelWorkbook>
          <x:ExcelWorksheets>
           <x:ExcelWorksheet>
            <x:Name>Hoja1</x:Name>
            <x:WorksheetOptions>
             <x:DefaultColWidth>10</x:DefaultColWidth>
             <x:Print>
              <x:ValidPrinterInfo/>
              <x:PaperSizeIndex>9</x:PaperSizeIndex>
              <x:HorizontalResolution>600</x:HorizontalResolution>
              <x:VerticalResolution>600</x:VerticalResolution>
             </x:Print>
             <x:Selected/>
             <x:ProtectContents>False</x:ProtectContents>
             <x:ProtectObjects>False</x:ProtectObjects>
             <x:ProtectScenarios>False</x:ProtectScenarios>
            </x:WorksheetOptions>
           </x:ExcelWorksheet>
           <x:ExcelWorksheet>
            <x:Name>Hoja2</x:Name>
            <x:WorksheetOptions>
             <x:DefaultColWidth>10</x:DefaultColWidth>
             <x:ProtectContents>False</x:ProtectContents>
             <x:ProtectObjects>False</x:ProtectObjects>
             <x:ProtectScenarios>False</x:ProtectScenarios>
            </x:WorksheetOptions>
           </x:ExcelWorksheet>
           <x:ExcelWorksheet>
            <x:Name>Hoja3</x:Name>
            <x:WorksheetOptions>
             <x:DefaultColWidth>10</x:DefaultColWidth>
             <x:ProtectContents>False</x:ProtectContents>
             <x:ProtectObjects>False</x:ProtectObjects>
             <x:ProtectScenarios>False</x:ProtectScenarios>
            </x:WorksheetOptions>
           </x:ExcelWorksheet>
          </x:ExcelWorksheets>
          <x:WindowHeight>11280</x:WindowHeight>
          <x:WindowWidth>17715</x:WindowWidth>
          <x:WindowTopX>360</x:WindowTopX>
          <x:WindowTopY>45</x:WindowTopY>
          <x:ProtectStructure>False</x:ProtectStructure>
          <x:ProtectWindows>False</x:ProtectWindows>
         </x:ExcelWorkbook>
        </xml><![endif]-->
    </head>
    <body link=blue vlink=purple>
        <?php echo $content_for_layout ?>
    </body>
</html>